package com.fare.taluo.vo.crawl;

import java.util.Date;

/**
 * 抓取航线VO
 * @author xiangsf 2013-06-07
 *
 */
public class CrawlLineVO {
	/**
	 * 网站名称
	 */
	private String webSite;
	/**
	 * 起点城市三字码
	 */
	private String fromCity;
	/**
	 * 起点城市名称
	 */
	private String fromCityName;
	/**
	 * 终点城市三字码
	 */
	private String toCity;
	/**
	 * 终点城市名称
	 */
	private String toCityName;
	/**
	 * 有效期　开始
	 */
	private Date startEffectDate;
	/**
	 * 有效期　结束
	 */
	private Date endEffectDate;
	/**
	 * 频率，分钟
	 */
	private int frequency = 180;
	/**
	 * 是否抓取返程
	 */
	private boolean hasReturn = false;
	/**
	 * 返程天数
	 */
	private int returnDays = 3;
	
	/**
	 * 第几天出发
	 */
	private String assignDay;
	
	/**
	 * 待多少天后返回
	 */
	private String assignFrightDay;
	/**
	 * 优先权重
	 */
	private int priority = 0;
	/**
	 * 抓取未来天数，开始
	 */
	private int gradStartDays = 0;
	/**
	 * 抓取未来天数，结束
	 */
	private int gradEndDays = 30;

	public String getWebSite() {
		return webSite;
	}

	public void setWebSite(String webSite) {
		this.webSite = webSite;
	}

	public String getFromCity() {
		return fromCity;
	}

	public void setFromCity(String fromCity) {
		this.fromCity = fromCity;
	}

	public String getFromCityName() {
		return fromCityName;
	}

	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}

	public String getToCity() {
		return toCity;
	}

	public void setToCity(String toCity) {
		this.toCity = toCity;
	}

	public String getToCityName() {
		return toCityName;
	}

	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}

	public Date getStartEffectDate() {
		return startEffectDate;
	}

	public void setStartEffectDate(Date startEffectDate) {
		this.startEffectDate = startEffectDate;
	}

	public Date getEndEffectDate() {
		return endEffectDate;
	}

	public void setEndEffectDate(Date endEffectDate) {
		this.endEffectDate = endEffectDate;
	}

	public int getFrequency() {
		return frequency;
	}

	public void setFrequency(int frequency) {
		this.frequency = frequency;
	}

	public boolean isHasReturn() {
		return hasReturn;
	}

	public void setHasReturn(boolean hasReturn) {
		this.hasReturn = hasReturn;
	}

	public int getReturnDays() {
		return returnDays;
	}

	public void setReturnDays(int returnDays) {
		this.returnDays = returnDays;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public int getGradStartDays() {
		return gradStartDays;
	}

	public void setGradStartDays(int gradStartDays) {
		this.gradStartDays = gradStartDays;
	}

	public int getGradEndDays() {
		return gradEndDays;
	}

	public void setGradEndDays(int gradEndDays) {
		this.gradEndDays = gradEndDays;
	}

	public String getAssignDay() {
		return assignDay;
	}

	public void setAssignDay(String assignDay) {
		this.assignDay = assignDay;
	}

	public String getAssignFrightDay() {
		return assignFrightDay;
	}

	public void setAssignFrightDay(String assignFrightDay) {
		this.assignFrightDay = assignFrightDay;
	}
	
	
	
}
